package com.gm.beans;

import com.gm.entities.Examen;
import com.gm.controllers.ExamenFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "examenController")
@SessionScoped
public class ExamenController extends AbstractController<Examen> implements Serializable {

    @Inject
    private ExamenFacade ejbFacade;

    public ExamenController() {
        super(Examen.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
